package cn.com.duiba.millionaire.center.biz.dao;

import cn.com.duiba.millionaire.center.biz.entity.MillionaireShareCodeUserRelationEntity;

/**
 * Created by sty on 1/20/18.
 */
public interface MillionaireShareCodeUserRelationDao {
    /**
     * 插入
     * @param millionaireShareCodeUserRelationEntity
     * @return
     */
    MillionaireShareCodeUserRelationEntity insert(MillionaireShareCodeUserRelationEntity millionaireShareCodeUserRelationEntity);

    /**
     * shareCode
     * @param shareCode
     * @return
     */
    MillionaireShareCodeUserRelationEntity findByShareCode(String shareCode, Long appId);
}
